package lance.honeydew.util;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class ItemInformationUtil {

	public static Long STATE_READY_INT = new Long(1);
	
	public static Long STATE_REMOVE_INT = new Long(2);
	
	public static String STATE_READY_Str = "上架";
	
	public static String STATE_REMOVE_Str = "下架";
	
	public static String getStateStr(int value) {
		
		String result = "";
		
		switch(value) {
			case 1:
				result += STATE_READY_Str;
				break;
			case 2:
				result += STATE_REMOVE_Str;
				break;
			default:
				result += "";
				break;
		}
		
		return result;
	}
}
